<include file="Public:header" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/jeui_themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/jeui_themes/icon.css">
<script type="text/javascript" src="__PUBLIC__/Js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/easyui/jquery.easyui.min.js"></script>
<load href ="__PUBLIC__/Js/easyui-lang-zh_CN.js" />
<div id="main" class="main" >
<div class="content">
    <?php $type = empty( $_GET['id'] )?0:$_GET['id']; ?>
  <div class="title">新增记录 [ <a href="__URL__/index/type/{$type}">返回列表</a> ]</div>
<div id="result" class="result none"></div>
<form method='post' id="form1" action="__URL__/insert/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >房间：</td>
	<td class="tLeft" >
             <select name="room_id">
                <volist name="rooms" id="room">
                    <option value="{$room.id}">{$room.room_no}</option>
                </volist>
            </select>
        </td>
</tr>
<tr>
	<td class="tRight" >起始时间：</td>
	<td class="tLeft" >
            <input type="text" id="start_time" name="start_time" value="" class="easyui-datetimebox" />
        </td>
</tr>
<tr>
	<td class="tRight" >截止时间：</td>
	<td class="tLeft" >
            <input type="text"  name="end_time" id="end_time" value="" class="easyui-datetimebox" />
        </td>
</tr>
<tr>
	<td class="tRight" >提醒时间：</td>
	<td class="tLeft" >
            <input type="text" class="medium bLeft easyui-datetimebox" name="alert_time" value="">
        </td>
</tr>
<tr>
	<td class="tRight" >备注：</td>
	<td class="tLeft" ><textarea name="remark" rows="5" cols="15" class="large"></textarea>
        <input type="hidden" name="type" value="{$type}">
        </td>
</tr>
<tr>
	<td></td>
	<td class="center"><div style="width:85%;margin:5px">
	<div class="impBtn fLeft"><input type="submit" value="保存"  class="save imgButton"></div>
	<div class="impBtn fLeft"><input type="reset" class="reset imgButton" onclick="javascript:history.back()" value="返回" ></div>
	</div></td>
</tr>
</table>
</form>
</div>
</div>
